home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK1.toast / Development Kits (Disc 1) / Interfaces&Libraries / Interfaces / AIncludes / FileTransferTools.a < prev    next >
Encoding:
Text File  |  1996-01-24  |  2.7 KB  |  104 lines  |  [TEXT/MPS ]

  1. ;
  2. ;    File:        FileTransferTools.a
  3. ;
  4. ;    Contains:    CommToolbox File Transfer Tools Interfaces.
  5. ;
  6. ;    Version:    Technology:    System 7.5
  7. ;                Package:    Universal Interfaces 2.2 in “MPW” on ETO #20
  8. ;
  9. ;    Copyright:    © 1984-1995 by Apple Computer, Inc.
  10. ;                All rights reserved.
  11. ;
  12. ;    Bugs?:        If you find a problem with this file, use the Apple Bug Reporter
  13. ;                stack.  Include the file and version information (from above)
  14. ;                in the problem description and send to:
  15. ;                    Internet:    apple.bugs@applelink.apple.com
  16. ;                    AppleLink:    APPLE.BUGS
  17. ;
  18. ;
  19.  
  20.     IF &TYPE('__FILETRANSFERTOOLS__') = 'UNDEFINED' THEN
  21. __FILETRANSFERTOOLS__ SET 1
  22.  
  23.  
  24.     IF &TYPE('__DIALOGS__') = 'UNDEFINED' THEN
  25.     include 'Dialogs.a'
  26.     ENDIF
  27. ;        include 'Errors.a'                                            ;
  28. ;            include 'ConditionalMacros.a'                            ;
  29. ;        include 'Memory.a'                                            ;
  30. ;            include 'Types.a'                                        ;
  31. ;            include 'MixedMode.a'                                    ;
  32. ;        include 'Menus.a'                                            ;
  33. ;            include 'Quickdraw.a'                                    ;
  34. ;                include 'QuickdrawText.a'                            ;
  35. ;        include 'Controls.a'                                        ;
  36. ;        include 'Windows.a'                                        ;
  37. ;            include 'Events.a'                                        ;
  38. ;                include 'OSUtils.a'                                ;
  39. ;        include 'TextEdit.a'                                        ;
  40.  
  41.     IF &TYPE('__FILETRANSFERS__') = 'UNDEFINED' THEN
  42.     include 'FileTransfers.a'
  43.     ENDIF
  44. ;        include 'CTBUtilities.a'                                    ;
  45. ;            include 'StandardFile.a'                                ;
  46. ;                include 'Files.a'                                    ;
  47. ;                    include 'Finder.a'                                ;
  48. ;            include 'AppleTalk.a'                                    ;
  49. ;        include 'Connections.a'                                    ;
  50. ;        include 'Terminals.a'                                        ;
  51.  
  52. ; DEFs 
  53. fdefType                        EQU        'fdef'
  54. fsetType                        EQU        'fset'
  55. fvalType                        EQU        'fval'
  56. flocType                        EQU        'floc'
  57. fscrType                        EQU        'fscr'
  58. fbndType                        EQU        'fbnd'
  59. fverType                        EQU        'vers'
  60.  
  61. ; control 
  62. ftInitMsg                        EQU        0
  63. ftDisposeMsg                    EQU        1
  64. ftSuspendMsg                    EQU        2
  65. ftResumeMsg                        EQU        3
  66. ftMenuMsg                        EQU        4
  67. ftEventMsg                        EQU        5
  68. ftActivateMsg                    EQU        6
  69. ftDeactivateMsg                    EQU        7
  70. ftGetErrorStringMsg                EQU        8
  71. ftAbortMsg                        EQU        52
  72. ftStartMsg                        EQU        100
  73. ftExecMsg                        EQU        102
  74. ftSendMsg                        EQU        103
  75. ftReceiveMsg                    EQU        104
  76. ; setup 
  77. ftSpreflightMsg                    EQU        0
  78. ftSsetupMsg                        EQU        1
  79. ftSitemMsg                        EQU        2
  80. ftSfilterMsg                    EQU        3
  81. ftScleanupMsg                    EQU        4
  82. ; validate 
  83. ftValidateMsg                    EQU        0
  84.  
  85. ftDefaultMsg                    EQU        1
  86. ; scripting 
  87. ftMgetMsg                        EQU        0
  88. ftMsetMsg                        EQU        1
  89. ; localization 
  90. ftL2English                        EQU        0
  91. ftL2Intl                        EQU        1
  92.  
  93. FTSetupStruct             RECORD    0
  94. theDialog                 ds.l   1        ; offset: $0 (0)        ; the dialog form the application 
  95. count                     ds.w   1        ; offset: $4 (4)        ; first appended item 
  96. theConfig                 ds.l   1        ; offset: $6 (6)        ; the config record to setup 
  97. procID                     ds.w   1        ; offset: $A (10)        ; procID of the tool 
  98. sizeof                     EQU *            ; size:   $C (12)
  99.                         ENDR
  100.  
  101. ; typedef struct FTSetupStruct  FTSetupStruct
  102. ; typedef FTSetupStruct     *FTSetupPtr
  103.     ENDIF ; __FILETRANSFERTOOLS__
  104.